package com.zhongan.gateway.service;

import java.util.List;

import com.zhongan.gateway.bean.ApiPrivilege;

public interface ApiPrivilegeService {

    //Privilege 操作
    int deletePrivilegeById(ApiPrivilege record);

    int insertPrivilege(ApiPrivilege record);

    int updatePrivilege(ApiPrivilege record);

    ApiPrivilege selectPriById(Long id);

    List<ApiPrivilege> selectPrivileges(Long devId);

    List<ApiPrivilege> selectPrivileges(Long devId, Long apiId);

}
